CREATE DATABASE `ew_realmd` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

CREATE USER 'ew_root'@'localhost' IDENTIFIED BY 'ew_root';

GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, LOCK TABLES ON `ew_realmd`.* TO 'ew_root'@'localhost';
